<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <style>
        .baz{
            font-size: 16px;
        }

        .boo{
            color: green;
        }

        .foo{
            font-weight: bolder;
        }

        .bar{
            opacity: 0.6;
        }
    </style>
</head>
<body>
<script src="https://unpkg.com/vue@next"></script>
<div id="app">
    <todo-item :class="['baz',  isActive?'boo':'']"></todo-item>
</div>
<script>
    const vueOpt = {
        data(){
            return {
                isActive: false
            }
        }
    }

    const app = Vue.createApp(vueOpt);
    app.component('todo-item', {
        template: `<p class="foo bar">Show Me</p>`
    });
    app.mount('#app');

</script>
</body>
</html>
